# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfburn
pkgver=0.7.0
pkgrel=1
pkgdesc="a simple CD/DVD burning tool based on libburnia libraries"
options="!check" # No testsuite
url="https://docs.xfce.org/apps/xfburn/start"
arch="all"
license="GPL-2.0-or-later"
depends="desktop-file-utils hicolor-icon-theme"
makedepends="
	exo-dev
	gst-plugins-base-dev
	libburn-dev
	libisofs-dev
	librsvg-dev
	libxfce4ui-dev
	thunar-dev
	"
subpackages="$pkgname-doc $pkgname-lang"
source="https://archive.xfce.org/src/apps/xfburn/${pkgver%.*}/xfburn-$pkgver.tar.bz2"

build() {
	CFLAGS="$CFLAGS -flto=auto" \
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-gstreamer
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
5ac679926809839d36c94d918ebc9bb409b9940127eba1cae6daf6614288f5d18181be5b7b4d249f0f0e973c2a4a22b8b3ce5709a2d23e5d4dd3b412cf5846d1  xfburn-0.7.0.tar.bz2
"
